package nl.utwente.fmt.vertalerbouw.tarrh.encoder;

import org.objectweb.asm.Label;

/**
 * Class to hold all labels related to the if else statement in the encoder.
 */
public class IfElseLabels {
	private final Label elseLabel = new Label();
	private final Label endLabel = new Label();

	/**
	 * Get the label point to the else part of the if else statement.
	 * 
	 * @return the else label.
	 */
	public Label getElseLabel() {
		return elseLabel;
	}

	/**
	 * Get the label pointing to the end of the if else statement.
	 * 
	 * @return the end label.
	 */
	public Label getEndLabel() {
		return endLabel;
	}
}
